package com.ww.java.generic.api;

/**
 * @author wanggw
 * @Date 2022年12月30 16:44
 */
public class Coffee {
    private static long counter = 0;
    private final long id = counter++;

    @Override
    public String toString() {
        return getClass().getSimpleName() + " " + id;
    }
}
